package com.entidades.xml;

import java.io.Serializable;

public class BaseObject implements Serializable {
	/**
     * 
     */
	private static final long serialVersionUID = 1234567890L;
	private String id;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Override
	public boolean equals(Object obj) {
		if (obj == this) {
			return true;
		}
		if (obj instanceof BaseObject) {
			BaseObject object = (BaseObject) obj;
			if (this.id.equals(object.getId())) {
				return true;
			}
		}
		return false;
	}

}
